<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
 <meta>
  <!-- Stylesheets -->
  <link href="../web.css" type="text/css" rel="stylesheet"></link>
  <link href="../pygmentize.css" type="text/css" rel="stylesheet"></link>
  <title>VLFeat - Documentation - C API</title>
  <link rel="stylesheet" type="text/css" href="../doxygen.css"></style>

  <!-- Scripts-->
  
 </meta>

 <!-- Body Start -->
 <body>
  <div id="header">
   <!-- Google CSE Search Box Begins -->
   <form action="http://www.vlfeat.org/search.html" method="get" id="cse-search-box" enctype="application/x-www-form-urlencoded">
    <div>
     <input type="hidden" name="cx" value="003215582122030917471:oq23albfeam"></input>
     <input type="hidden" name="cof" value="FORID:11"></input>
     <input type="hidden" name="ie" value="UTF-8"></input>
     <input type="text" name="q" size="31"></input>
     <input type="submit" name="sa" value="Search"></input>
    </div>
   </form>
   <script src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en" xml:space="preserve" type="text/javascript"></script>
   <!-- Google CSE Search Box Ends -->
   <h1><a shape="rect" href="../index.html" class="plain"><span id="vlfeat">VLFeat</span><span id="dotorg">.org</span></a></h1>
  </div>
  <div id="headbanner">
   Documentation - C API
  </div>
  <div id="pagebody">
   <div id="sidebar"> <!-- Navigation Start -->
    <ul>
<li><a href="../index.html">Home</a>
</li>
<li><a href="../download.html">Download</a>
</li>
<li><a href="../doc.html">Documentation</a>
<ul>
<li><a href="../mdoc/mdoc.html">Matlab API</a>
</li>
<li><a href="index.html" class='active' >C API</a>
</li>
<li><a href="../man/man.html">Man pages</a>
</li>
</ul></li>
<li><a href="../overview/tut.html">Tutorials</a>
</li>
<li><a href="../applications/apps.html">Applications</a>
</li>
</ul>

   </div> <!-- sidebar -->
   <div id="content">
    
    <link rel="stylesheet" type="text/css" href="../doxygen.css"></style>
    <div class="doxygen">
<div>
<!-- Generated by Doxygen 1.7.5.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Defines</a> &#124;
<a href="#typedef-members">Typedefs</a>  </div>
  <div class="headertitle">
<div class="title">quickshift.h File Reference</div>  </div>
</div>
<div class="contents">

<p>Quick shift (<a class="el" href="quickshift.html">Quick shift image segmentation</a>)  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="generic_8h.html">generic.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="mathop_8h.html">mathop.h</a>&quot;</code><br/>
</div><table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structVlQS.html">VlQS</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">quick shift results  <a href="structVlQS.html#details">More...</a><br/></td></tr>
<tr><td colspan="2"><h2><a name="define-members"></a>
Defines</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a674ebf4b93ac727a31df15e6d5a45b91"></a><!-- doxytag: member="quickshift.h::VL_QS_INF" ref="a674ebf4b93ac727a31df15e6d5a45b91" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="quickshift_8h.html#a674ebf4b93ac727a31df15e6d5a45b91">VL_QS_INF</a>&#160;&#160;&#160;VL_INFINITY_D</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">quick shift infinity constant <br/></td></tr>
<tr><td colspan="2"><h2><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aee7aaa0947ccf164d8072bd798f419e2"></a><!-- doxytag: member="quickshift.h::vl_qs_type" ref="aee7aaa0947ccf164d8072bd798f419e2" args="" -->
typedef double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="quickshift_8h.html#aee7aaa0947ccf164d8072bd798f419e2">vl_qs_type</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">quick shift datatype <br/></td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Create and destroy</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structVlQS.html">VlQS</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="quickshift_8h.html#aec706b048c3f4de42a118e242fbd0105">vl_quickshift_new</a> (<a class="el" href="quickshift_8h.html#aee7aaa0947ccf164d8072bd798f419e2">vl_qs_type</a> const *im, int height, int width, int channels)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a quick shift object.  <a href="#aec706b048c3f4de42a118e242fbd0105"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="quickshift_8h.html#a9c2a39344fb684d899f22faf358425e8">vl_quickshift_delete</a> (<a class="el" href="structVlQS.html">VlQS</a> *q)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Delete quick shift object.  <a href="#a9c2a39344fb684d899f22faf358425e8"></a><br/></td></tr>
<tr><td colspan="2"><div class="groupHeader">Process data</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="quickshift_8h.html#aebfc7337283b7a8f8be1a1c0fd4f5f92">vl_quickshift_process</a> (<a class="el" href="structVlQS.html">VlQS</a> *q)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a quick shift objet.  <a href="#aebfc7337283b7a8f8be1a1c0fd4f5f92"></a><br/></td></tr>
<tr><td colspan="2"><div class="groupHeader">Retrieve data and parameters</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="quickshift_8h.html#aee7aaa0947ccf164d8072bd798f419e2">vl_qs_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="quickshift_8h.html#a0a6c066b205bf0382d19b7c9fe8628d5">vl_quickshift_get_max_dist</a> (<a class="el" href="structVlQS.html">VlQS</a> const *q)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get tau.  <a href="#a0a6c066b205bf0382d19b7c9fe8628d5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="quickshift_8h.html#aee7aaa0947ccf164d8072bd798f419e2">vl_qs_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="quickshift_8h.html#a929d3f6d37b578d40edddb0e6aa9d4e3">vl_quickshift_get_kernel_size</a> (<a class="el" href="structVlQS.html">VlQS</a> const *q)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get sigma.  <a href="#a929d3f6d37b578d40edddb0e6aa9d4e3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="host_8h.html#ad32e7f8ec7333ff33998cf671a3b1412">vl_bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="quickshift_8h.html#a199679a6a594f25a690c97d5c67515a0">vl_quickshift_get_medoid</a> (<a class="el" href="structVlQS.html">VlQS</a> const *q)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get medoid.  <a href="#a199679a6a594f25a690c97d5c67515a0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="quickshift_8h.html#ab116d2dbad717ce889e56ea8335a1463">vl_quickshift_get_parents</a> (<a class="el" href="structVlQS.html">VlQS</a> const *q)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get parents.  <a href="#ab116d2dbad717ce889e56ea8335a1463"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="quickshift_8h.html#aee7aaa0947ccf164d8072bd798f419e2">vl_qs_type</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="quickshift_8h.html#a675666418f0bc2665be61f0b243a8c1d">vl_quickshift_get_dists</a> (<a class="el" href="structVlQS.html">VlQS</a> const *q)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get dists.  <a href="#a675666418f0bc2665be61f0b243a8c1d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="quickshift_8h.html#aee7aaa0947ccf164d8072bd798f419e2">vl_qs_type</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="quickshift_8h.html#acceb1733e008e0542164429e92253837">vl_quickshift_get_density</a> (<a class="el" href="structVlQS.html">VlQS</a> const *q)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get density.  <a href="#acceb1733e008e0542164429e92253837"></a><br/></td></tr>
<tr><td colspan="2"><div class="groupHeader">Set parameters</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="quickshift_8h.html#ac54275b6b97121f41cf3b64d9e6210a3">vl_quickshift_set_max_dist</a> (<a class="el" href="structVlQS.html">VlQS</a> *q, <a class="el" href="quickshift_8h.html#aee7aaa0947ccf164d8072bd798f419e2">vl_qs_type</a> tau)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set max distance.  <a href="#ac54275b6b97121f41cf3b64d9e6210a3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="quickshift_8h.html#ae54ca4abe8fb6ba0b8a8306d053b7628">vl_quickshift_set_kernel_size</a> (<a class="el" href="structVlQS.html">VlQS</a> *q, <a class="el" href="quickshift_8h.html#aee7aaa0947ccf164d8072bd798f419e2">vl_qs_type</a> sigma)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set sigma.  <a href="#ae54ca4abe8fb6ba0b8a8306d053b7628"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="quickshift_8h.html#aacf51684900938c0eaec425e742d0a76">vl_quickshift_set_medoid</a> (<a class="el" href="structVlQS.html">VlQS</a> *q, <a class="el" href="host_8h.html#ad32e7f8ec7333ff33998cf671a3b1412">vl_bool</a> medoid)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set medoid.  <a href="#aacf51684900938c0eaec425e742d0a76"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><dl class="author"><dt><b>Author:</b></dt><dd>Andrea Vedaldi </dd>
<dd>
Brian Fulkerson </dd></dl>
</div><hr/><h2>Function Documentation</h2>
<a class="anchor" id="a9c2a39344fb684d899f22faf358425e8"></a><!-- doxytag: member="quickshift.h::vl_quickshift_delete" ref="a9c2a39344fb684d899f22faf358425e8" args="(VlQS *q)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vl_quickshift_delete </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structVlQS.html">VlQS</a> *&#160;</td>
          <td class="paramname"><em>q</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">q</td><td>quick shift object. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="acceb1733e008e0542164429e92253837"></a><!-- doxytag: member="quickshift.h::vl_quickshift_get_density" ref="acceb1733e008e0542164429e92253837" args="(VlQS const *q)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="quickshift_8h.html#aee7aaa0947ccf164d8072bd798f419e2">vl_qs_type</a> * vl_quickshift_get_density </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structVlQS.html">VlQS</a> const *&#160;</td>
          <td class="paramname"><em>q</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">q</td><td>quick shift object. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the estimate of the density at each pixel. </dd></dl>

</div>
</div>
<a class="anchor" id="a675666418f0bc2665be61f0b243a8c1d"></a><!-- doxytag: member="quickshift.h::vl_quickshift_get_dists" ref="a675666418f0bc2665be61f0b243a8c1d" args="(VlQS const *q)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="quickshift_8h.html#aee7aaa0947ccf164d8072bd798f419e2">vl_qs_type</a> * vl_quickshift_get_dists </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structVlQS.html">VlQS</a> const *&#160;</td>
          <td class="paramname"><em>q</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">q</td><td>quick shift object. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>for each pixel, the distance in feature space to the pixel that is its parent in the quick shift tree. </dd></dl>

</div>
</div>
<a class="anchor" id="a929d3f6d37b578d40edddb0e6aa9d4e3"></a><!-- doxytag: member="quickshift.h::vl_quickshift_get_kernel_size" ref="a929d3f6d37b578d40edddb0e6aa9d4e3" args="(VlQS const *q)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="quickshift_8h.html#aee7aaa0947ccf164d8072bd798f419e2">vl_qs_type</a> vl_quickshift_get_kernel_size </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structVlQS.html">VlQS</a> const *&#160;</td>
          <td class="paramname"><em>q</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">q</td><td>quick shift object. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the standard deviation of the kernel used in the Parzen density estimate. </dd></dl>

</div>
</div>
<a class="anchor" id="a0a6c066b205bf0382d19b7c9fe8628d5"></a><!-- doxytag: member="quickshift.h::vl_quickshift_get_max_dist" ref="a0a6c066b205bf0382d19b7c9fe8628d5" args="(VlQS const *q)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="quickshift_8h.html#aee7aaa0947ccf164d8072bd798f419e2">vl_qs_type</a> vl_quickshift_get_max_dist </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structVlQS.html">VlQS</a> const *&#160;</td>
          <td class="paramname"><em>q</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">q</td><td>quick shift object. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the maximum distance in the feature space between nodes in the quick shift tree. </dd></dl>

</div>
</div>
<a class="anchor" id="a199679a6a594f25a690c97d5c67515a0"></a><!-- doxytag: member="quickshift.h::vl_quickshift_get_medoid" ref="a199679a6a594f25a690c97d5c67515a0" args="(VlQS const *q)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="host_8h.html#ad32e7f8ec7333ff33998cf671a3b1412">vl_bool</a> vl_quickshift_get_medoid </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structVlQS.html">VlQS</a> const *&#160;</td>
          <td class="paramname"><em>q</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">q</td><td>quick Shift object. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if medoid shift is used instead of quick shift. </dd></dl>

</div>
</div>
<a class="anchor" id="ab116d2dbad717ce889e56ea8335a1463"></a><!-- doxytag: member="quickshift.h::vl_quickshift_get_parents" ref="ab116d2dbad717ce889e56ea8335a1463" args="(VlQS const *q)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int * vl_quickshift_get_parents </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structVlQS.html">VlQS</a> const *&#160;</td>
          <td class="paramname"><em>q</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">q</td><td>quick shift object. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>a height x width matrix containing linearized links to the parents in the quick shift tree. If there is no parent, the parent will be set to the index of the node. </dd></dl>

</div>
</div>
<a class="anchor" id="aec706b048c3f4de42a118e242fbd0105"></a><!-- doxytag: member="quickshift.h::vl_quickshift_new" ref="aec706b048c3f4de42a118e242fbd0105" args="(vl_qs_type const *im, int height, int width, int channels)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structVlQS.html">VlQS</a>* vl_quickshift_new </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="quickshift_8h.html#aee7aaa0947ccf164d8072bd798f419e2">vl_qs_type</a> const *&#160;</td>
          <td class="paramname"><em>image</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>height</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>channels</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">image</td><td></td></tr>
    <tr><td class="paramname">height</td><td></td></tr>
    <tr><td class="paramname">width</td><td></td></tr>
    <tr><td class="paramname">channels</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>New quick shift object. </dd></dl>

</div>
</div>
<a class="anchor" id="aebfc7337283b7a8f8be1a1c0fd4f5f92"></a><!-- doxytag: member="quickshift.h::vl_quickshift_process" ref="aebfc7337283b7a8f8be1a1c0fd4f5f92" args="(VlQS *q)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vl_quickshift_process </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structVlQS.html">VlQS</a> *&#160;</td>
          <td class="paramname"><em>q</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">q</td><td>quick shift object. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ae54ca4abe8fb6ba0b8a8306d053b7628"></a><!-- doxytag: member="quickshift.h::vl_quickshift_set_kernel_size" ref="ae54ca4abe8fb6ba0b8a8306d053b7628" args="(VlQS *q, vl_qs_type sigma)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vl_quickshift_set_kernel_size </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structVlQS.html">VlQS</a> *&#160;</td>
          <td class="paramname"><em>q</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="quickshift_8h.html#aee7aaa0947ccf164d8072bd798f419e2">vl_qs_type</a>&#160;</td>
          <td class="paramname"><em>sigma</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">q</td><td>quick shift object. </td></tr>
    <tr><td class="paramname">sigma</td><td>standard deviation of the kernel used in the Parzen density estimate. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ac54275b6b97121f41cf3b64d9e6210a3"></a><!-- doxytag: member="quickshift.h::vl_quickshift_set_max_dist" ref="ac54275b6b97121f41cf3b64d9e6210a3" args="(VlQS *q, vl_qs_type tau)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vl_quickshift_set_max_dist </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structVlQS.html">VlQS</a> *&#160;</td>
          <td class="paramname"><em>q</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="quickshift_8h.html#aee7aaa0947ccf164d8072bd798f419e2">vl_qs_type</a>&#160;</td>
          <td class="paramname"><em>tau</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">q</td><td>quick shift object. </td></tr>
    <tr><td class="paramname">tau</td><td>the maximum distance in the feature space between nodes in the quick shift tree. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aacf51684900938c0eaec425e742d0a76"></a><!-- doxytag: member="quickshift.h::vl_quickshift_set_medoid" ref="aacf51684900938c0eaec425e742d0a76" args="(VlQS *q, vl_bool medoid)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vl_quickshift_set_medoid </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structVlQS.html">VlQS</a> *&#160;</td>
          <td class="paramname"><em>q</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="host_8h.html#ad32e7f8ec7333ff33998cf671a3b1412">vl_bool</a>&#160;</td>
          <td class="paramname"><em>medoid</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">q</td><td>quick shift object. </td></tr>
    <tr><td class="paramname">medoid</td><td><code>true</code> to use kernelized medoid shift, <code>false</code> (default) uses quick shift. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div>
     <!-- Doc Here -->
    </div>
   
   </div>
   <div class="clear">&nbsp;</div>
  </div> <!-- pagebody -->
  <div id="footer">
   &copy; 2007-12 Andrea Vedaldi and Brian Fulkerson
  </div> <!-- footer -->

  <!-- Google Analytics Begins -->
  <script xml:space="preserve" type="text/javascript">
   //<![CDATA[
    var localre = /vlfeat.org/;
    if(document.location.host.search(localre) != -1)
    {
   var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
   document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
   }
   //]]>
  </script>
  <script xml:space="preserve" type="text/javascript">
    //<![CDATA[
    var localre = /vlfeat.org/;
    if(document.location.host.search(localre) != -1)
    {

   try {
   var pageTracker = _gat._getTracker("UA-4936091-2");
   pageTracker._trackPageview();
   } catch(err) {}

   }
   //]]>
  </script>
  <!-- Google Analytics Ends -->
 </body>
</html>

 
